#!/usr/bin/python3
"""
Description: global config path.
"""
import os

DEBUG = True

if DEBUG:
    BASE_PATH = os.path.realpath(os.path.dirname(os.path.realpath(
        os.path.dirname(os.path.realpath(os.path.dirname(os.path.dirname(__file__)))))))
else:
    BASE_PATH = '/etc/aparser'

PARSER_CONFIG_DIR = os.path.join(BASE_PATH, 'config/parser')
PARSER_REGEX_PATH = os.path.join(BASE_PATH, 'config/parser/regex.yml')
PARSER_CUSTOM_DIR = os.path.join(BASE_PATH, 'config/parser/custom-patterns')

SYSTEM_CONFIG_PATH = os.path.join(BASE_PATH, 'config/conf.ini')
